#include <tsin/runtime/DisplayUpdateWork.hpp>

#include <tsin/runtime/GameRuntime.hpp>

#include <tsin/display/Display.hpp>

using namespace tsin;

DisplayUpdateWork::DisplayUpdateWork()
{
}

DisplayUpdateWork::~DisplayUpdateWork()
{
}

void DisplayUpdateWork::init(GameRuntime *runtime)
{
        this->display = &runtime->display;
}

int DisplayUpdateWork::run()
{
        display->update();
        return 0;
}
